import axios from '@/libs/api.request'
// import StringUtil from '@/libs/string-util'

const api_module = 'role_menu'

/**
 * 保存角色的菜单权限
 * {
 *   定义好数据格式
 * }
 */
const saveMenusForRole = (data) => {
  return axios.request({
    url: `api/${api_module}`,
    method: 'post',
    data: data
  })
}

export default {
  saveMenusForRole
}
